package top.infopub.mgr.bpa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.ProContractInvestDao;
import top.infopub.model.bpa.ProContractInvest;
import top.infopub.mgr.bpa.service.ProContractInvestService;

@Service
public class ProContractInvestServiceImpl extends GenericServiceImpl<ProContractInvest, String> implements
		ProContractInvestService {

	@Autowired
	private ProContractInvestDao proContractInvestDao;
	
	@Override
	public GenericDao<ProContractInvest, String> getDao() {
		return proContractInvestDao;
	}

    @Override
    public ProContractInvest selectByProContractInvestId(String proContractId) {
        return proContractInvestDao.selectByProContractInvestId(proContractId);
    }

}